<template>
	<!-- 首页 特色农产品 详情页组件 -->
  <view>
    <view class="wrap">
      <view class="order">
        <u-empty
            class="empty"
            text="暂无数据"
            mode="list"
        ></u-empty>
      </view>
    </view>

  </view>
</template>

<script>

import empty from "@/components/empty/empty.vue";


export default {
  components: {
    empty,
  },

  data() {
    return {
      mask: false,
      type: 0,
      limit: 8,
      showBox: false,


    };
  },
  onLoad() {

  },

  methods: {},
};
</script>

<style>
/* #ifndef H5 */
page {
  height: 100%;
  background-color: #f2f2f2;
}

/* #endif */
</style>

<style lang="scss" scoped>
.empty {
  display: block;
  margin: 100px auto;
}

.sticky {
  display: flex;
  align-items: center;
  background-color: #fffaf4;
  color: #f9aa45;
  padding: 15 rpx 32 rpx;
  font-size: 13px;

  .btn {
    margin: 0 20 rpx;
  }
}

.order {
  border-radius: 20 rpx;
  box-sizing: border-box;
  padding: 20 rpx;
  font-size: 28 rpx;

  .top {
    display: flex;
    justify-content: space-between;

    .left {
      display: flex;
      align-items: center;

      .store {
        margin: 0 10 rpx;
        font-size: 32 rpx;
        font-weight: bold;
      }
    }

    .right {
      color: $u-type-warning-dark;
    }
  }

  .item {
    display: flex;
    margin: 20 rpx 0 0;

    .left {
      margin-right: 20 rpx;

      image {
        width: 200 rpx;
        height: 200 rpx;
        border-radius: 10 rpx;
      }
    }

    .content {
      .title {
        font-size: 28 rpx;
        line-height: 50 rpx;
      }

      .type {
        margin: 10 rpx 0;
        font-size: 24 rpx;
        color: $u-tips-color;
      }

      .delivery-time {
        color: #e5d001;
        font-size: 24 rpx;
      }
    }

    .right {
      margin-left: 10 rpx;
      padding-top: 20 rpx;
      text-align: right;

      .decimal {
        font-size: 24 rpx;
        margin-top: 4 rpx;
      }

      .number {
        color: $u-tips-color;
        font-size: 24 rpx;
      }
    }
  }

  .total {
    margin-top: 20 rpx;
    text-align: right;
    font-size: 24 rpx;

    .total-price {
      font-size: 32 rpx;
    }
  }

  .bottom {
    display: flex;
    margin-top: 40 rpx;
    padding: 0 10 rpx;
    justify-content: space-between;
    align-items: center;

    .btn {
      line-height: 52 rpx;
      width: 160 rpx;
      border-radius: 26 rpx;
      border: 2 rpx solid $u-border-color;
      font-size: 26 rpx;
      text-align: center;
      color: $u-type-info-dark;
    }

    .evaluate {
      color: $u-type-warning-dark;
      border-color: $u-type-warning-dark;
    }
  }
}

.wrap {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--window-top));
  width: 100%;
}

.swiper-box {
  flex: 1;
}

.swiper-item {
  height: 100%;
}
</style>
